.class final Lcom/ninesky/browser/dk;
.super Lcom/ninesky/browser/view/bi;


# instance fields
.field private synthetic a:Lcom/ninesky/browser/BookmarksActivity;


# direct methods
.method constructor <init>(Lcom/ninesky/browser/BookmarksActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/browser/dk;->a:Lcom/ninesky/browser/BookmarksActivity;

    invoke-direct {p0}, Lcom/ninesky/browser/view/bi;-><init>()V

    return-void
.end method


# virtual methods
.method public final a(Ljava/lang/String;)V
    .locals 3

    iget-object v0, p0, Lcom/ninesky/browser/dk;->a:Lcom/ninesky/browser/BookmarksActivity;

    invoke-static {v0}, Lcom/ninesky/browser/BookmarksActivity;->j(Lcom/ninesky/browser/BookmarksActivity;)Lcom/ninesky/widget/g;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/widget/g;->c()V

    iget-object v0, p0, Lcom/ninesky/browser/dk;->a:Lcom/ninesky/browser/BookmarksActivity;

    invoke-static {v0}, Lcom/ninesky/browser/BookmarksActivity;->k(Lcom/ninesky/browser/BookmarksActivity;)Landroid/widget/Button;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Button;->requestFocusFromTouch()Z

    if-eqz p1, :cond_0

    const-string v0, ""

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/dk;->a:Lcom/ninesky/browser/BookmarksActivity;

    invoke-static {v0}, Lcom/ninesky/browser/BookmarksActivity;->k(Lcom/ninesky/browser/BookmarksActivity;)Landroid/widget/Button;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/dk;->a:Lcom/ninesky/browser/BookmarksActivity;

    invoke-static {v0}, Lcom/ninesky/browser/BookmarksActivity;->c(Lcom/ninesky/browser/BookmarksActivity;)Lcom/ninesky/browser/du;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/du;->getFilter()Landroid/widget/Filter;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/widget/Filter;->filter(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/ninesky/browser/dk;->a:Lcom/ninesky/browser/BookmarksActivity;

    const-string v1, "Bookmarks"

    const-string v2, "SelectTag"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method
